package business.tdk.c2s.cclass;

import cenum.room.SetState;
import jsproto.c2s.cclass.room.RoomSetInfo;

import java.util.ArrayList;
import java.util.List;

/**
 * 吹牛当局信息
 *
 * @author Administrator
 */
public class TDKRoomSetInfo extends RoomSetInfo {
    public SetState state = SetState.Init; // 当前局状态 Init；Wait；End； Playing不需要信息
    public long startTime = 0;
    // public TDKRoom_Cfg cfg;
    public int curOpPos = -1;
    public int curChip = 0;
    public int totalChip = 0;
    public int pos = 0;

    //庄位置
    public int dPos=0;
    public List<Integer> chipList = new ArrayList<>();
    public List<TDKSet_Pos> setPosList = new ArrayList<>(); // 一局玩家列表
    // 如果是等待状态： waiting；
    public TDK_SetRound setRound = new TDK_SetRound(); // 当前等待信息 Wait
    public TDK_SetEnd setEnd = new TDK_SetEnd(); // 结束状态
    public boolean isLanGuo = false;

    public int languoBeishu=1;

    public int shangFenPos=-1;
    public int shangFenOpTime=0;
    public int shangFenTime=0;

    public void setShangFenOpTime(int shangFenOpTime) {
        this.shangFenOpTime = shangFenOpTime;
    }

    public void setShangFenTime(int shangFenTime) {
        this.shangFenTime = shangFenTime;
    }

    public void setState(SetState state) {
        this.state = state;
    }

    public void setStartTime(long startTime) {
        this.startTime = startTime;
    }

    public void setCurOpPos(int curOpPos) {
        this.curOpPos = curOpPos;
    }

    public void setCurChip(int curChip) {
        this.curChip = curChip;
    }

    public void setTotalChip(int totalChip) {
        this.totalChip = totalChip;
    }

    public void setPos(int pos) {
        this.pos = pos;
    }

    public void setChipList(List<Integer> chipList) {
        this.chipList = chipList;
    }

    public void setSetPosList(List<TDKSet_Pos> setPosList) {
        this.setPosList = setPosList;
    }

    public void setSetRound(TDK_SetRound setRound) {
        this.setRound = setRound;
    }

    public void setSetEnd(TDK_SetEnd setEnd) {
        this.setEnd = setEnd;
    }

    public void setLanGuo(boolean lanGuo) {
        isLanGuo = lanGuo;
    }

    public void setLanguoBeishu(int languoBeishu) {
        this.languoBeishu = languoBeishu;
    }

    public void setShangFenPos(int shangFenPos) {
        this.shangFenPos = shangFenPos;
    }

    public int getdPos() {
        return dPos;
    }

    public void setdPos(int dPos) {
        this.dPos = dPos;
    }
}
